usolve
usolve(A: any[] | Mat, b: any[] | Mat) : any[]
param A
- The 'A' part of Ax=b
. A 2-D matrix, specifically upper triangular. See lusolve
or lsolve
for variants.
param b
- The 'b' part of Ax=b
. A 1-D matrix, must be the column vector specifically.
returns: any[]
- The column vector representing the solution to the equation Ax=b
, or the part, x
.
This function finds the answer to the equation Ax=b
, or the linear equation system where x
is a column vector of the different variables.